package com.yupi.springbootinit.service;

import com.yupi.springbootinit.common.QueryListWhenId;
import com.yupi.springbootinit.common.Result;
import com.yupi.springbootinit.model.entity.ConurseTopic;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yupi.springbootinit.model.vo.ConurseTopicContentReponseBody;
import com.yupi.springbootinit.model.vo.ConurseTopicReponseBody;

import java.util.List;
import java.util.concurrent.ExecutionException;

/**
* @author 15312
* @description 针对表【conurse_topic(题目表)】的数据库操作Service
* @createDate 2024-05-15 16:13:34
*/
public interface ConurseTopicService extends IService<ConurseTopic> {

    List<ConurseTopicReponseBody> queryConurseTopicReponseBodyList(QueryListWhenId queryListWhenId);

    List<ConurseTopicContentReponseBody> queryTopicContentAndAnswerList(Long id) throws ExecutionException, InterruptedException;
}
